/**
 * output package name
 */
package com.kingdee.eas.basedata.master.cssp;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class PayInvoiceTypeEnum extends StringEnum
{
    public static final String DEFAULTTYPE_VALUE = "-1";
    public static final String COMMONINVOICE_VALUE = "0";
    public static final String VALUEADDEDTAXINV_VALUE = "1";

    public static final PayInvoiceTypeEnum DEFAULTTYPE = new PayInvoiceTypeEnum("DEFAULTTYPE", DEFAULTTYPE_VALUE);
    public static final PayInvoiceTypeEnum COMMONINVOICE = new PayInvoiceTypeEnum("COMMONINVOICE", COMMONINVOICE_VALUE);
    public static final PayInvoiceTypeEnum VALUEADDEDTAXINV = new PayInvoiceTypeEnum("VALUEADDEDTAXINV", VALUEADDEDTAXINV_VALUE);

    /**
     * construct function
     * @param String payInvoiceTypeEnum
     */
    private PayInvoiceTypeEnum(String name, String payInvoiceTypeEnum)
    {
        super(name, payInvoiceTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PayInvoiceTypeEnum getEnum(String payInvoiceTypeEnum)
    {
        return (PayInvoiceTypeEnum)getEnum(PayInvoiceTypeEnum.class, payInvoiceTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PayInvoiceTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PayInvoiceTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PayInvoiceTypeEnum.class);
    }
}